<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2022-11-18 15:23:17
 * @Last Modified time: 2022-11-18 15:36:58
 */
namespace app\common\services\mate;

use frank\base\BaseService;
use frank\services\JwtAuthService;
use frank\exception\CommonException;
use app\common\dao\mate\FilesGroupDao;

/**
 * 文件分组
 * Class FilesGroupService
 */
class FilesGroupService extends BaseService
{

    /**
     * FilesGroupService constructor.
     * @param FilesGroupDao $dao
     */
    public function __construct(FilesGroupDao $dao)
    {
        $this->dao = $dao;
    }

    public function selectList($where = []){
    	$select = $this->dao->selectList($where);
    	if(!$select) return [];
    	return $select->toArray();
    }
}
